import request from '@/utils/request'

export function http_holiday_list(year) {
    return request({
        url: '/calendar/selectByYear',
        method: 'get',
        params: {year}
    })
}

export function http_holiday_submit(params) {
    return request({
        url: '/calendar/saveCalendar',
        method: 'post',
        data:params
    })
}
